package com.lfk.justweengine.utils.crashHandler;

import ohos.app.Context;
import ohos.app.Environment;

import java.io.File;

/**
 * Created by liufengkai on 16/1/16.
 */
public class CrashHandlerDefault {

    public static String init(Context context) {
        String Log_Default_Path =
                context.getExternalFilesDir(null) + "/CrashLog";
        File file = new File(Log_Default_Path);
        if (!file.exists()) {
            file.mkdirs();
        }
        return Log_Default_Path;
    }
}
